config BR2_PACKAGE_LIBNFC
	bool "libnfc"
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
	select BR2_PACKAGE_LIBUSB
	select BR2_PACKAGE_LIBUSB_COMPAT
	help
	  Public platform independent Near Field Communication (NFC) library.

	  http://www.libnfc.org/

config BR2_PACKAGE_LIBNFC_EXAMPLES
	bool "build libnfc examples"
	depends on BR2_PACKAGE_LIBNFC
	select BR2_PACKAGE_READLINE

comment "libnfc needs a toolchain with thread support"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
